<%= simple_form_for [:admin, @account], :defaults => { :input_html => { :class => "form-control" } }, remote: true, html: {class: 'form-horizontal' } do |f| %>
	<fieldset>
		<legend><%= title %></legend>
	  <%= f.input :mobile_number, label: '手机号'  %>
	  <%= f.input :name, label: '姓名' %>
	  <%= f.input :level, collection: @account.account_group.levels.split(/\s*,\s*/), 
	        selected: @account.level, label: '级别' %>
	  <%= f.association :account_group, label: '分组'  %>
	  <%= f.button :wrapped, value: '提 交' %>
	</fieldset>
<% end %>
<%= javascript_include_tag "prevent_label.js" %>

